<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<%@ taglib prefix="his_fns" uri="/WEB-INF/tlds/his_fns.tld" %>

<div class="panel-body">
    <div class="table-responsive no-border">
        <table id="contentTable" class="table table-bordered mg-t datatable">
            <thead>
            <tr>
                <th>床号</th>
                <th>床标号</th>
                <th>房间号</th>
                <th>男/女</th>
                <th>等级</th>
                <th>空调等级</th>
                <th>类型</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${list}" var="bedRec">
                <tr onclick="newBedForm('${bedRec.id}','${bedRec.bedNo}')">
                    <td> ${bedRec.bedNo}</td>
                    <td> ${bedRec.bedLabel}</td>
                    <td> ${bedRec.roomNo}</td>
                    <td> ${fns:getDictLabel(bedRec.bedSexType,"SEX_DICT" ,"" )}</td>
                    <td> ${his_fns:getClinicName(bedRec.bedGrade)}</td>
                    <td> ${his_fns:getClinicName(bedRec.airconditionClass)}</td>
                    <td> ${fns:getDictLabel(bedRec.bedApprovedType,"BED_APPROVED_TYPE_DICT" ,"" )}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
</div>



